package com.atguigu.mapper;

import com.atguigu.dto.h5.ProductSkuDto;
import com.atguigu.entity.product.ProductSku;
import com.atguigu.vo.h5.ProductItemVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductSkuMapper {
    List<ProductSku> selectProductSkuBySale();

    List<ProductSku> findByProductId(Long productId);

    List<ProductItemVo> findByPage(ProductSkuDto productSkuDto);

    ProductSku getById(Long id);
}
